package hierarchy

type FdArticleCollect struct {
	UserID        uint   `json:"userID" form:"userID" gorm:"primarykey;column:user_id;comment:用户id;size:10;"`
	FdArticleID   uint   `json:"fdArticleID" form:"fdArticleID" gorm:"primarykey;column:fd_article_id;comment:文章id;size:10;"`
	FdArticleType string `json:"fdArticleType" form:"fdArticleType" gorm:"primarykey;column:fd_article_type;comment:文章类型;size:10;"`
}

func (FdArticleCollect) TableName() string {
	return "fd_article_collect"
}

type FdArticleLike struct {
	UserID        uint   `json:"userID" form:"userID" gorm:"primarykey;column:user_id;comment:用户id;size:10;"`
	FdArticleID   uint   `json:"fdArticleID" form:"fdArticleID" gorm:"primarykey;column:fd_article_id;comment:文章id;size:10;"`
	FdArticleType string `json:"fdArticleType" form:"fdArticleType" gorm:"primarykey;column:fd_article_type;comment:文章类型;size:10;"`
}

func (FdArticleLike) TableName() string {
	return "fd_article_like"
}
